package com.tfswx.jcyw.ruleenginedesigner.dao;

import com.tfswx.jcyw.ruleenginedesigner.dao.model.GzyqXtGzfl;
import com.tfswx.jcyw.ruleenginedesigner.dto.gzflgl.GzflListByXmbmQueryOutputDTO;
import com.tfswx.jcyw.ruleenginedesigner.dto.gzflgl.GzflbmAndGzbmQueryOutputDTO;
import com.tfswx.ruleengine.compute.bean.GzDataDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Ricky
 * @date 2021/5/11
 */
@Mapper
public interface GzyqXtGzflMapper {
    /**
     * insert record to table
     *
     * @param record the record
     * @return insert count
     */
    int insert(GzyqXtGzfl record);

    List<GzflListByXmbmQueryOutputDTO> queryGzflListByXmbm(GzyqXtGzfl gzyqXtGzfl);

    int update(GzyqXtGzfl gzyqXtGzfl);

    int delete(GzyqXtGzfl gzyqXtGzfl);

    GzyqXtGzfl queryGzflByGzflbm(GzyqXtGzfl gzyqXtGzfl);

    List<GzflbmAndGzbmQueryOutputDTO> queryGzflbmAndGzbm(GzyqXtGzfl gzyqXtGzfl);

    int qkGzfl(List<String> strings);

    int importGzflList(List<GzDataDTO.Gzfl> gzflList);
}
